package com.sh.data.engine.application.model.dto.integration;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.util.List;

@Schema
@Data
@Builder
public class OfflinePreviewApiDataResponse {

    @Schema(description = "列名集合")
    private List<FieldInfo> fieldNameList;

    @Schema(description = "行记录集合")
    private List<List<Object>> dataList;

    @Data
    public static class FieldInfo {
        private String fieldName;
        private String fieldType;
    }
}
